from django import forms

# Search查询表单form
class MappingForm(forms.Form):
    # t 为日期表索引
    # s 为搜索输入框
    # n 类别索引选择
    s = forms.CharField(max_length=20,label="查询：",widget=forms.widgets.TextInput(
        attrs={'class':'form-control','placeholder':"输入关键字搜索",'id':"in_keyword"}),)

    n = forms.fields.ChoiceField(choices=(('it_number',"资产编号"),('asset_users',"资产使用者"),),
        widget=forms.widgets.Select(
        attrs={'class':"form-control line left",'id':'sel_ziduan'}),)
